queryimmodules: Fix compiler warnings
authorMatthias Clasen <mclasen@redhat.com>
Sun, 31 May 2015 01:30:53 +0000 (21:30 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 2 Jun 2015 13:08:16 +0000 (09:08 -0400)
Fix warnings due to -Wdeclaration-after-statement and -Wshadow.

gtk/queryimmodules.c

index 155be81a38f3ee797debfda8e2f1a1306a6a348a..83052e805c52b3bcdfbdbf006cf48ceb4531f52e 100644 (file)
@@ -181,7 +181,6 @@ G_GNUC_END_IGNORE_DEPRECATIONS
   if (argc == first_file)  /* No file arguments given */
     {
       char **dirs;
-      int i;
       GHashTable *dirs_done;
 
 G_GNUC_BEGIN_IGNORE_DEPRECATIONS